const getters = {
  token: state => state.user.token,
  user: state => state.user,
  nickname: state => state.user.nickname,
  avatar: state => state.user.avatar,
  userid: state => state.user.userid
}
export default getters
